<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/1 0001
 * Time: 17:37
 */

namespace app\common\validate;
use think\Validate;

class AdminUser extends Validate
{
    protected $rule = [
        'username|用户名'=>'require|max:20',
        'password|密码'=>'require|max:20',
    ];
}